package com.bsoft.gol.hcs.task.bean.request;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @author lanyu
 * @date 2021年11月02日 10:16
 */
@XmlRootElement(name = "MsgBody")
public class QueryInspectReportRequest implements Serializable {

    private InnerRequest data;

    @XmlElement(name = "Request")
    public InnerRequest getData() {
        return data;
    }

    public void setData(InnerRequest data) {
        this.data = data;
    }



    @XmlRootElement(name = "Request")
    public static class InnerRequest {
        private String organizationId;
        private String beginDate;
        private String endDate;
        private Integer pageNo = 1;
        private Integer pageSize = 200;

        @XmlElement(name = "VisitOrganization")
        public String getOrganizationId() {
            return organizationId;
        }

        public void setOrganizationId(String organizationId) {
            this.organizationId = organizationId;
        }
        @XmlElement(name = "EffectiveTimeLow")
        public String getBeginDate() {
            return beginDate;
        }

        public void setBeginDate(String beginDate) {
            this.beginDate = beginDate;
        }
        @XmlElement(name = "EffectiveTimeHigh")
        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }
        @XmlElement(name = "PageNo")
        public Integer getPageNo() {
            return pageNo;
        }

        public void setPageNo(Integer pageNo) {
            this.pageNo = pageNo;
        }
        @XmlElement(name = "PageSize")
        public Integer getPageSize() {
            return pageSize;
        }

        public void setPageSize(Integer pageSize) {
            this.pageSize = pageSize;
        }
    }

}
